package com.sgg.gulimall_member.controller;

import com.sgg.gulimall_member.openFeign.CouponService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author fileworld
 * @version 1.0
 * @create 2021/9/25 0025
 * @project base_spring_cloud
 * @description
 */

@RestController
@RequestMapping("/memberDemo")
public class DemoController {

    @Autowired
    private CouponService couponService;

    @GetMapping
    public String getCouponFeign(){
        return couponService.Demo();

    }
}
